package cn.carlos.jiatu.protocol.dto;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;

/**
 * @ClassName requestDTO
 * @Description TODO
 * @Author Carlos
 * @Date 2023/11/2 19:53
 * @Version 1.0
 */
@Data
public class RequestDTO {

    private String appid;
    private String libcode;
    private String api;
    private Long time;
    private String sign;
    private Payload payload;

    public RequestDTO(String api, Long time, Payload payload) {
        this.api = api;
        this.time = time;
        this.payload = payload;
    }
}
